﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>

    <link href="/WF/Scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="/WF/Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="/WF/Style/skin/css/Default.css" rel="stylesheet" />
     
    <!--通用js-->
    <script src="/WF/Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script src="/WF/Scripts/QueryString.js" type="text/javascript"></script>
    <script src="/WF/Scripts/config.js" type="text/javascript"></script>
    <script src="/WF/Comm/Gener.js" type="text/javascript"></script>
    <link href="css/icons.css" rel="stylesheet" />
    <style type="text/css">
    </style>
    <script type="text/javascript">

        var workID = GetQueryString("WorkID"); //workid 子线程的ID
        var crid = GetQueryString("CRID"); //workid 子线程的ID

        $(function () {
            //传入数据调用ajax. 返回查询犯人的接口.
            var data = "";
            //获得.
            var ens = new Entities("BP.WFRpt.Books");

            if (crid != null && crid != undefined)
                ens.Retrieve("WorkID", workID, "CRID", crid);
            else
                ens.Retrieve("WorkID", workID);



            //var jianqus = new Entities("BP.JianYu.JianQus");
            //jianqus.RetrieveAll();
            //var html = "<table class='table table-bordered table - hover' >";
            //html += "<tr>";
            //html += "<th>编号</th>";
            //html += "<th>名称</th>";
            //html += "<th>监区</th>"; //监区
            //html += "<th>分监区</th>"; //分监区
            //html += "<th>操作</th>"; //分监区
            //html += "</tr>";

            //for (var idx = 0; idx < jianqus.length; idx++) {
            //    var jq = jianqus[idx];

            //    html += "<tr>";
            //    html += "<th colsapn=5>" + jq.No + " - " + jq.Name + "</th>";
            //    html += "</tr>";

            //    for (var i = 0; i < ens.length; i++) {

            //        var en = ens[i];
            //        if (en.JianQuNo != jq.No)
            //            continue;

            //        html += "<tr>";

            //        html += "<td>" + en.No + "</td>";
            //        html += "<td>" + en.Name + "</td>";

            //        html += "<td>" + en.JianQuNo + en.JianQuNoText + "</td>"; //监区
            //        html += "<td>" + en.FenJianQuNo + en.FenJianQuNoText + "</td>"; //分监区
            //        html += "<td><a href=\"javascript:Del('" + en.No + "')\" >删除</a></td>"; //分监区

            //        html += "</tr>";
            //    }
            //}
            //html += "</table>";
            //$("#docs").html(html);

        });

    </script>
</head>
<body>


    <div id="docs">
    </div>

</body>
</html>
